package org.example.sdpback.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.example.sdpback.domain.enums.TaskStatusEnum;
import org.example.sdpback.domain.enums.TaskTypeEnum;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zxy
 * @since 2024-12-06
 */
@Data
@TableName(value = "task", schema = "sdp")
public class Task implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String title;

    private String description;

    private Long createUserId;

    private TaskTypeEnum type;

    private TaskStatusEnum status;

    private Long iterationId;

    private String executeUserId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
